﻿#if USE_UNI_LUA
using LuaAPI = UniLua.Lua;
using RealStatePtr = UniLua.ILuaState;
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
#else
using LuaAPI = XLua.LuaDLL.Lua;
using RealStatePtr = System.IntPtr;
using LuaCSFunction = XLuaBase.lua_CSFunction;
#endif

using XLua;
using System.Collections.Generic;


namespace XLua.CSObjectWrap
{
    using Utils = XLua.Utils;
    public class YoozooGameplayRTSRTSLuaCallCSharpManagerWrap 
    {
        public static void __Register(RealStatePtr L)
        {
			ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			System.Type type = typeof(Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager);
			Utils.BeginObjectRegister(type, L, translator, 0, 0, 1, 1);
			
			
			
			Utils.RegisterFunc(L, Utils.GETTER_IDX, "LangId", _g_get_LangId);
            
			Utils.RegisterFunc(L, Utils.SETTER_IDX, "LangId", _s_set_LangId);
            
			
			Utils.EndObjectRegister(type, L, translator, null, null,
			    null, null, null);

		    Utils.BeginClassRegister(type, L, __CreateInstance, 85, 19, 19);
			Utils.RegisterFunc(L, Utils.CLS_IDX, "TryLoadResource", _m_TryLoadResource_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetResourceById", _m_GetResourceById_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "RecoverResourceById", _m_RecoverResourceById_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetEffectById", _m_GetEffectById_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "RecoverEffectById", _m_RecoverEffectById_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "InitTeamColor", _m_InitTeamColor_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "InitShadowColor", _m_InitShadowColor_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "DrawLine", _m_DrawLine_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "DelLine", _m_DelLine_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "DrawMarchLine", _m_DrawMarchLine_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "DelMarchLine", _m_DelMarchLine_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "DrawWarningLine", _m_DrawWarningLine_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "DelWarningLine", _m_DelWarningLine_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "LockCamera", _m_LockCamera_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "UnLockCamera", _m_UnLockCamera_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "ShowSkillDirector", _m_ShowSkillDirector_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "PlayEffect", _m_PlayEffect_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "PlayBuffEffect", _m_PlayBuffEffect_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "PlayEffectAndSound", _m_PlayEffectAndSound_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "PlayAreaEffect", _m_PlayAreaEffect_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "RemoveEffect", _m_RemoveEffect_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "FlyText", _m_FlyText_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "FlyTextIcon", _m_FlyTextIcon_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "PlayRepeatText", _m_PlayRepeatText_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "PlayRepeatText2", _m_PlayRepeatText2_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "FlyTextName", _m_FlyTextName_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "FlyTextFree", _m_FlyTextFree_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "PreloadEffectConfig", _m_PreloadEffectConfig_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "PreloadBattleFormationConfig", _m_PreloadBattleFormationConfig_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "PreloadFlyText", _m_PreloadFlyText_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "OnLODPercentUpdate", _m_OnLODPercentUpdate_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "TweenTo", _m_TweenTo_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SetUIOverlayMat", _m_SetUIOverlayMat_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "UpdateFog", _m_UpdateFog_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "UpdateServerTimeStamp", _m_UpdateServerTimeStamp_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "CalMonsterNeedLoadSoldierAtlas", _m_CalMonsterNeedLoadSoldierAtlas_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "PreloadSoldierConfig", _m_PreloadSoldierConfig_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "PreloadRTSGlobalValue", _m_PreloadRTSGlobalValue_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "PreloadHeroSkillConfig", _m_PreloadHeroSkillConfig_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "PreloadQualityLevelConfig", _m_PreloadQualityLevelConfig_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "PreloadFormationSoldierPositionCfg", _m_PreloadFormationSoldierPositionCfg_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "PreloadRTSNeedLangConfig", _m_PreloadRTSNeedLangConfig_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "PreloadRTSNeedItemConfig", _m_PreloadRTSNeedItemConfig_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "StopTestBattle", _m_StopTestBattle_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "ChangeMarchPathPointColor", _m_ChangeMarchPathPointColor_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "OnQualityChanged", _m_OnQualityChanged_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "OnQualityChangedSprite", _m_OnQualityChangedSprite_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "OnQualityChangedEffect", _m_OnQualityChangedEffect_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "OnQualityChangedMaxTroopNum", _m_OnQualityChangedMaxTroopNum_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "OnChangeEffectNum", _m_OnChangeEffectNum_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "OnQualityChangedFlyText", _m_OnQualityChangedFlyText_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "OnCommanderHeadChanged", _m_OnCommanderHeadChanged_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "PreloadMapBesiegeConfig", _m_PreloadMapBesiegeConfig_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "StartUnitTest", _m_StartUnitTest_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "EndUnitTest", _m_EndUnitTest_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "InitRtsUnitTest", _m_InitRtsUnitTest_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SelectBattleTroops", _m_SelectBattleTroops_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "MoveSelectMarchToNormalCanvas", _m_MoveSelectMarchToNormalCanvas_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SetArmyEnabled", _m_SetArmyEnabled_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SetSandboxTypeEnabled", _m_SetSandboxTypeEnabled_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SetIsSandboxDebug", _m_SetIsSandboxDebug_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SetMeshRendererEnabled", _m_SetMeshRendererEnabled_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SetIsPoolObjectActive", _m_SetIsPoolObjectActive_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SetCarQuality", _m_SetCarQuality_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "ResetSandboxDecorationQuality", _m_ResetSandboxDecorationQuality_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SetOutCameraObjectActive", _m_SetOutCameraObjectActive_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SetOutCameraObjectRendererActive", _m_SetOutCameraObjectRendererActive_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "CheckIsOutCamera", _m_CheckIsOutCamera_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SetTmpRebuildEnabled", _m_SetTmpRebuildEnabled_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SetPos", _m_SetPos_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SetForward", _m_SetForward_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "ResetResourceLoadAgentCount", _m_ResetResourceLoadAgentCount_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SetRapidWhenSwitchScene", _m_SetRapidWhenSwitchScene_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SetIsRapidLoading", _m_SetIsRapidLoading_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "ChangeSimpleMode", _m_ChangeSimpleMode_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SetThirdAttackEffect", _m_SetThirdAttackEffect_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SetIsShowThirdAttackSpeedLineEffect", _m_SetIsShowThirdAttackSpeedLineEffect_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SetIsShowThirdAttackEffect", _m_SetIsShowThirdAttackEffect_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SetIsShowThirdRageEffect", _m_SetIsShowThirdRageEffect_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SetIsShowThirdNormalText", _m_SetIsShowThirdNormalText_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SetIsShowThirdSkillText", _m_SetIsShowThirdSkillText_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetArenaPositionByPosIdAndCamp", _m_GetArenaPositionByPosIdAndCamp_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "TestCrash", _m_TestCrash_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SetUserId", _m_SetUserId_xlua_st_);
            
			
            
			Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "useGpuFlyText", _g_get_useGpuFlyText);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "IsTest", _g_get_IsTest);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "lodLevel", _g_get_lodLevel);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "marchLodLevel", _g_get_marchLodLevel);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "lodScale", _g_get_lodScale);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "IsRtsUnitTest", _g_get_IsRtsUnitTest);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "MaxModelWithShadow", _g_get_MaxModelWithShadow);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "MaxModelWithoutShadow", _g_get_MaxModelWithoutShadow);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "isArmyEnabled", _g_get_isArmyEnabled);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "isSandboxType1Enabled", _g_get_isSandboxType1Enabled);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "isSandboxType2Enabled", _g_get_isSandboxType2Enabled);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "isSandboxType3Enabled", _g_get_isSandboxType3Enabled);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "isSandboxType4Enabled", _g_get_isSandboxType4Enabled);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "isSandboxDebug", _g_get_isSandboxDebug);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "isMeshRendererEnabled", _g_get_isMeshRendererEnabled);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "isPoolObjectActive", _g_get_isPoolObjectActive);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "isOutCameraObjectActive", _g_get_isOutCameraObjectActive);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "isOutCameraObjectRendererActive", _g_get_isOutCameraObjectRendererActive);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "isRapidWhenSwitchScene", _g_get_isRapidWhenSwitchScene);
            
			Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "useGpuFlyText", _s_set_useGpuFlyText);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "IsTest", _s_set_IsTest);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "lodLevel", _s_set_lodLevel);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "marchLodLevel", _s_set_marchLodLevel);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "lodScale", _s_set_lodScale);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "IsRtsUnitTest", _s_set_IsRtsUnitTest);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "MaxModelWithShadow", _s_set_MaxModelWithShadow);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "MaxModelWithoutShadow", _s_set_MaxModelWithoutShadow);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "isArmyEnabled", _s_set_isArmyEnabled);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "isSandboxType1Enabled", _s_set_isSandboxType1Enabled);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "isSandboxType2Enabled", _s_set_isSandboxType2Enabled);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "isSandboxType3Enabled", _s_set_isSandboxType3Enabled);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "isSandboxType4Enabled", _s_set_isSandboxType4Enabled);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "isSandboxDebug", _s_set_isSandboxDebug);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "isMeshRendererEnabled", _s_set_isMeshRendererEnabled);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "isPoolObjectActive", _s_set_isPoolObjectActive);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "isOutCameraObjectActive", _s_set_isOutCameraObjectActive);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "isOutCameraObjectRendererActive", _s_set_isOutCameraObjectRendererActive);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "isRapidWhenSwitchScene", _s_set_isRapidWhenSwitchScene);
            
			
            Utils.RegisterFunc(L, Utils.CLS_IDX, "New", __CreateInstanceNew);
			Utils.EndClassRegister(type, L, translator);
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int __CreateInstance(RealStatePtr L)
        {
            
			try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
				if(LuaAPI.lua_gettop(L) == 1)
				{
					
					var gen_ret = new Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager();
					translator.Push(L, gen_ret);
                    
					return 1;
				}
				
			}
			catch(System.Exception gen_e) {
				return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
			}
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager constructor!");
            
        }

        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int __CreateInstanceNew(RealStatePtr L)
        {
            
			try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
				if(LuaAPI.lua_gettop(L) == 0)
				{
					
					var gen_ret = new Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager();
					translator.Push(L, gen_ret);
                    
					return 1;
				}
				
			}
			catch(System.Exception gen_e) {
				return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
			}
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager constructor!");
            
        }

        
		
        
		
        
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_TryLoadResource_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    int _id = LuaAPI.xlua_tointeger(L, 1);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.TryLoadResource( _id );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetResourceById_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 2)) 
                {
                    int _id = LuaAPI.xlua_tointeger(L, 1);
                    bool _isForceGet = LuaAPI.lua_toboolean(L, 2);
                    
                        var gen_ret = Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.GetResourceById( _id, _isForceGet );
                        translator.Push(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                if(gen_param_count == 1&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)) 
                {
                    int _id = LuaAPI.xlua_tointeger(L, 1);
                    
                        var gen_ret = Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.GetResourceById( _id );
                        translator.Push(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.GetResourceById!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_RecoverResourceById_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    int _id = LuaAPI.xlua_tointeger(L, 1);
                    UnityEngine.GameObject _obj = (UnityEngine.GameObject)translator.GetObject(L, 2, typeof(UnityEngine.GameObject));
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.RecoverResourceById( _id, _obj );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetEffectById_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 2)) 
                {
                    int _id = LuaAPI.xlua_tointeger(L, 1);
                    bool _isRelatedToSelf = LuaAPI.lua_toboolean(L, 2);
                    
                        var gen_ret = Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.GetEffectById( _id, _isRelatedToSelf );
                        translator.Push(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                if(gen_param_count == 1&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)) 
                {
                    int _id = LuaAPI.xlua_tointeger(L, 1);
                    
                        var gen_ret = Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.GetEffectById( _id );
                        translator.Push(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.GetEffectById!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_RecoverEffectById_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& translator.Assignable<UnityEngine.GameObject>(L, 2)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 3)) 
                {
                    int _id = LuaAPI.xlua_tointeger(L, 1);
                    UnityEngine.GameObject _obj = (UnityEngine.GameObject)translator.GetObject(L, 2, typeof(UnityEngine.GameObject));
                    bool _isRelatedToSelf = LuaAPI.lua_toboolean(L, 3);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.RecoverEffectById( _id, _obj, _isRelatedToSelf );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& translator.Assignable<UnityEngine.GameObject>(L, 2)) 
                {
                    int _id = LuaAPI.xlua_tointeger(L, 1);
                    UnityEngine.GameObject _obj = (UnityEngine.GameObject)translator.GetObject(L, 2, typeof(UnityEngine.GameObject));
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.RecoverEffectById( _id, _obj );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.RecoverEffectById!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_InitTeamColor_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    UnityEngine.Color[] _teamColors = (UnityEngine.Color[])translator.GetObject(L, 1, typeof(UnityEngine.Color[]));
                    UnityEngine.Color[] _teamTxtColors = (UnityEngine.Color[])translator.GetObject(L, 2, typeof(UnityEngine.Color[]));
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.InitTeamColor( _teamColors, _teamTxtColors );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_InitShadowColor_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    UnityEngine.Color[] _shadowColors = (UnityEngine.Color[])translator.GetObject(L, 1, typeof(UnityEngine.Color[]));
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.InitShadowColor( _shadowColors );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_DrawLine_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    float _startx = (float)LuaAPI.lua_tonumber(L, 1);
                    float _startz = (float)LuaAPI.lua_tonumber(L, 2);
                    float _endx = (float)LuaAPI.lua_tonumber(L, 3);
                    float _endz = (float)LuaAPI.lua_tonumber(L, 4);
                    int _targetTeam = LuaAPI.xlua_tointeger(L, 5);
                    
                        var gen_ret = Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.DrawLine( _startx, _startz, _endx, _endz, _targetTeam );
                        LuaAPI.xlua_pushinteger(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_DelLine_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    int _id = LuaAPI.xlua_tointeger(L, 1);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.DelLine( _id );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_DrawMarchLine_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 3&& (LuaAPI.lua_isnil(L, 1) || LuaAPI.lua_type(L, 1) == LuaTypes.LUA_TTABLE)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)) 
                {
                    XLua.LuaTable _pathList = (XLua.LuaTable)translator.GetObject(L, 1, typeof(XLua.LuaTable));
                    int _startIndex = LuaAPI.xlua_tointeger(L, 2);
                    int _team = LuaAPI.xlua_tointeger(L, 3);
                    
                        var gen_ret = Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.DrawMarchLine( _pathList, _startIndex, _team );
                        LuaAPI.xlua_pushinteger(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                if(gen_param_count == 6&& translator.Assignable<System.Collections.Generic.List<UnityEngine.Vector3>>(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 5)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 6)) 
                {
                    System.Collections.Generic.List<UnityEngine.Vector3> _points = (System.Collections.Generic.List<UnityEngine.Vector3>)translator.GetObject(L, 1, typeof(System.Collections.Generic.List<UnityEngine.Vector3>));
                    int _startIndex = LuaAPI.xlua_tointeger(L, 2);
                    int _team = LuaAPI.xlua_tointeger(L, 3);
                    bool _isGather = LuaAPI.lua_toboolean(L, 4);
                    bool _isWonderNpc = LuaAPI.lua_toboolean(L, 5);
                    bool _isBKIARMYNpc = LuaAPI.lua_toboolean(L, 6);
                    
                        var gen_ret = Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.DrawMarchLine( _points, _startIndex, _team, _isGather, _isWonderNpc, _isBKIARMYNpc );
                        LuaAPI.xlua_pushinteger(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                if(gen_param_count == 5&& translator.Assignable<System.Collections.Generic.List<UnityEngine.Vector3>>(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 5)) 
                {
                    System.Collections.Generic.List<UnityEngine.Vector3> _points = (System.Collections.Generic.List<UnityEngine.Vector3>)translator.GetObject(L, 1, typeof(System.Collections.Generic.List<UnityEngine.Vector3>));
                    int _startIndex = LuaAPI.xlua_tointeger(L, 2);
                    int _team = LuaAPI.xlua_tointeger(L, 3);
                    bool _isGather = LuaAPI.lua_toboolean(L, 4);
                    bool _isWonderNpc = LuaAPI.lua_toboolean(L, 5);
                    
                        var gen_ret = Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.DrawMarchLine( _points, _startIndex, _team, _isGather, _isWonderNpc );
                        LuaAPI.xlua_pushinteger(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                if(gen_param_count == 4&& translator.Assignable<System.Collections.Generic.List<UnityEngine.Vector3>>(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 4)) 
                {
                    System.Collections.Generic.List<UnityEngine.Vector3> _points = (System.Collections.Generic.List<UnityEngine.Vector3>)translator.GetObject(L, 1, typeof(System.Collections.Generic.List<UnityEngine.Vector3>));
                    int _startIndex = LuaAPI.xlua_tointeger(L, 2);
                    int _team = LuaAPI.xlua_tointeger(L, 3);
                    bool _isGather = LuaAPI.lua_toboolean(L, 4);
                    
                        var gen_ret = Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.DrawMarchLine( _points, _startIndex, _team, _isGather );
                        LuaAPI.xlua_pushinteger(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.DrawMarchLine!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_DelMarchLine_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    int _id = LuaAPI.xlua_tointeger(L, 1);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.DelMarchLine( _id );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_DrawWarningLine_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    float _startX = (float)LuaAPI.lua_tonumber(L, 1);
                    float _startZ = (float)LuaAPI.lua_tonumber(L, 2);
                    float _endX = (float)LuaAPI.lua_tonumber(L, 3);
                    float _endZ = (float)LuaAPI.lua_tonumber(L, 4);
                    int _team = LuaAPI.xlua_tointeger(L, 5);
                    
                        var gen_ret = Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.DrawWarningLine( _startX, _startZ, _endX, _endZ, _team );
                        LuaAPI.xlua_pushinteger(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_DelWarningLine_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    int _id = LuaAPI.xlua_tointeger(L, 1);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.DelWarningLine( _id );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_LockCamera_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    int _key = LuaAPI.xlua_tointeger(L, 1);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.LockCamera( _key );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_UnLockCamera_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    int _key = LuaAPI.xlua_tointeger(L, 1);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.UnLockCamera( _key );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ShowSkillDirector_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 9&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& translator.Assignable<System.Collections.Generic.Dictionary<string, float>>(L, 5)&& translator.Assignable<UnityEngine.Vector3>(L, 6)&& translator.Assignable<UnityEngine.Vector3>(L, 7)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 8)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 9)) 
                {
                    int _team = LuaAPI.xlua_tointeger(L, 1);
                    int _releasePosMark = LuaAPI.xlua_tointeger(L, 2);
                    int _target_team = LuaAPI.xlua_tointeger(L, 3);
                    int _director_type = LuaAPI.xlua_tointeger(L, 4);
                    System.Collections.Generic.Dictionary<string, float> _param = (System.Collections.Generic.Dictionary<string, float>)translator.GetObject(L, 5, typeof(System.Collections.Generic.Dictionary<string, float>));
                    UnityEngine.Vector3 _selfPosition;translator.Get(L, 6, out _selfPosition);
                    UnityEngine.Vector3 _targetPosition;translator.Get(L, 7, out _targetPosition);
                    float _directorTime = (float)LuaAPI.lua_tonumber(L, 8);
                    bool _isArea = LuaAPI.lua_toboolean(L, 9);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.ShowSkillDirector( _team, _releasePosMark, _target_team, _director_type, _param, _selfPosition, _targetPosition, _directorTime, _isArea );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 8&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& translator.Assignable<System.Collections.Generic.Dictionary<string, float>>(L, 5)&& translator.Assignable<UnityEngine.Vector3>(L, 6)&& translator.Assignable<UnityEngine.Vector3>(L, 7)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 8)) 
                {
                    int _team = LuaAPI.xlua_tointeger(L, 1);
                    int _releasePosMark = LuaAPI.xlua_tointeger(L, 2);
                    int _target_team = LuaAPI.xlua_tointeger(L, 3);
                    int _director_type = LuaAPI.xlua_tointeger(L, 4);
                    System.Collections.Generic.Dictionary<string, float> _param = (System.Collections.Generic.Dictionary<string, float>)translator.GetObject(L, 5, typeof(System.Collections.Generic.Dictionary<string, float>));
                    UnityEngine.Vector3 _selfPosition;translator.Get(L, 6, out _selfPosition);
                    UnityEngine.Vector3 _targetPosition;translator.Get(L, 7, out _targetPosition);
                    float _directorTime = (float)LuaAPI.lua_tonumber(L, 8);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.ShowSkillDirector( _team, _releasePosMark, _target_team, _director_type, _param, _selfPosition, _targetPosition, _directorTime );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 7&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& translator.Assignable<System.Collections.Generic.Dictionary<string, float>>(L, 5)&& translator.Assignable<UnityEngine.Vector3>(L, 6)&& translator.Assignable<UnityEngine.Vector3>(L, 7)) 
                {
                    int _team = LuaAPI.xlua_tointeger(L, 1);
                    int _releasePosMark = LuaAPI.xlua_tointeger(L, 2);
                    int _target_team = LuaAPI.xlua_tointeger(L, 3);
                    int _director_type = LuaAPI.xlua_tointeger(L, 4);
                    System.Collections.Generic.Dictionary<string, float> _param = (System.Collections.Generic.Dictionary<string, float>)translator.GetObject(L, 5, typeof(System.Collections.Generic.Dictionary<string, float>));
                    UnityEngine.Vector3 _selfPosition;translator.Get(L, 6, out _selfPosition);
                    UnityEngine.Vector3 _targetPosition;translator.Get(L, 7, out _targetPosition);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.ShowSkillDirector( _team, _releasePosMark, _target_team, _director_type, _param, _selfPosition, _targetPosition );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.ShowSkillDirector!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_PlayEffect_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 6&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& translator.Assignable<UnityEngine.Vector3>(L, 2)&& translator.Assignable<UnityEngine.Vector3>(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 5)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 6)) 
                {
                    int _effectId = LuaAPI.xlua_tointeger(L, 1);
                    UnityEngine.Vector3 _selfPosition;translator.Get(L, 2, out _selfPosition);
                    UnityEngine.Vector3 _targetPosition;translator.Get(L, 3, out _targetPosition);
                    int _team = LuaAPI.xlua_tointeger(L, 4);
                    bool _isRelatedToSelf = LuaAPI.lua_toboolean(L, 5);
                    bool _needChangeEffectColor = LuaAPI.lua_toboolean(L, 6);
                    
                        var gen_ret = Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.PlayEffect( _effectId, _selfPosition, _targetPosition, _team, _isRelatedToSelf, _needChangeEffectColor );
                        LuaAPI.xlua_pushinteger(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                if(gen_param_count == 5&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& translator.Assignable<UnityEngine.Vector3>(L, 2)&& translator.Assignable<UnityEngine.Vector3>(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 5)) 
                {
                    int _effectId = LuaAPI.xlua_tointeger(L, 1);
                    UnityEngine.Vector3 _selfPosition;translator.Get(L, 2, out _selfPosition);
                    UnityEngine.Vector3 _targetPosition;translator.Get(L, 3, out _targetPosition);
                    int _team = LuaAPI.xlua_tointeger(L, 4);
                    bool _isRelatedToSelf = LuaAPI.lua_toboolean(L, 5);
                    
                        var gen_ret = Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.PlayEffect( _effectId, _selfPosition, _targetPosition, _team, _isRelatedToSelf );
                        LuaAPI.xlua_pushinteger(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                if(gen_param_count == 4&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& translator.Assignable<UnityEngine.Vector3>(L, 2)&& translator.Assignable<UnityEngine.Vector3>(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)) 
                {
                    int _effectId = LuaAPI.xlua_tointeger(L, 1);
                    UnityEngine.Vector3 _selfPosition;translator.Get(L, 2, out _selfPosition);
                    UnityEngine.Vector3 _targetPosition;translator.Get(L, 3, out _targetPosition);
                    int _team = LuaAPI.xlua_tointeger(L, 4);
                    
                        var gen_ret = Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.PlayEffect( _effectId, _selfPosition, _targetPosition, _team );
                        LuaAPI.xlua_pushinteger(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.PlayEffect!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_PlayBuffEffect_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& translator.Assignable<MarchEntity>(L, 2)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 3)) 
                {
                    int _effectId = LuaAPI.xlua_tointeger(L, 1);
                    MarchEntity _march = (MarchEntity)translator.GetObject(L, 2, typeof(MarchEntity));
                    bool _isRelatedToSelf = LuaAPI.lua_toboolean(L, 3);
                    
                        var gen_ret = Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.PlayBuffEffect( _effectId, _march, _isRelatedToSelf );
                        LuaAPI.xlua_pushinteger(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& translator.Assignable<MarchEntity>(L, 2)) 
                {
                    int _effectId = LuaAPI.xlua_tointeger(L, 1);
                    MarchEntity _march = (MarchEntity)translator.GetObject(L, 2, typeof(MarchEntity));
                    
                        var gen_ret = Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.PlayBuffEffect( _effectId, _march );
                        LuaAPI.xlua_pushinteger(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.PlayBuffEffect!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_PlayEffectAndSound_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 10&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& (LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) || LuaAPI.lua_isint64(L, 2))&& translator.Assignable<Yoozoo.Gameplay.RTS.Proto.TargetCoordinateType>(L, 3)&& (LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4) || LuaAPI.lua_isint64(L, 4))&& translator.Assignable<Yoozoo.Gameplay.RTS.Proto.TargetCoordinateType>(L, 5)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 6)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 7)&& (LuaAPI.lua_isnil(L, 8) || LuaAPI.lua_type(L, 8) == LuaTypes.LUA_TSTRING)&& (LuaAPI.lua_isnil(L, 9) || LuaAPI.lua_type(L, 9) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 10)) 
                {
                    int _effectId = LuaAPI.xlua_tointeger(L, 1);
                    long _marchId = LuaAPI.lua_toint64(L, 2);
                    Yoozoo.Gameplay.RTS.Proto.TargetCoordinateType _type;translator.Get(L, 3, out _type);
                    long _targetId = LuaAPI.lua_toint64(L, 4);
                    Yoozoo.Gameplay.RTS.Proto.TargetCoordinateType _targetType;translator.Get(L, 5, out _targetType);
                    bool _isRelatedToSelf = LuaAPI.lua_toboolean(L, 6);
                    int _team = LuaAPI.xlua_tointeger(L, 7);
                    string _sound = LuaAPI.lua_tostring(L, 8);
                    string _sound2 = LuaAPI.lua_tostring(L, 9);
                    bool _needChangeEffectColor = LuaAPI.lua_toboolean(L, 10);
                    
                        var gen_ret = Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.PlayEffectAndSound( _effectId, _marchId, _type, _targetId, _targetType, _isRelatedToSelf, _team, _sound, _sound2, _needChangeEffectColor );
                        LuaAPI.xlua_pushinteger(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                if(gen_param_count == 9&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& (LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) || LuaAPI.lua_isint64(L, 2))&& translator.Assignable<Yoozoo.Gameplay.RTS.Proto.TargetCoordinateType>(L, 3)&& (LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4) || LuaAPI.lua_isint64(L, 4))&& translator.Assignable<Yoozoo.Gameplay.RTS.Proto.TargetCoordinateType>(L, 5)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 6)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 7)&& (LuaAPI.lua_isnil(L, 8) || LuaAPI.lua_type(L, 8) == LuaTypes.LUA_TSTRING)&& (LuaAPI.lua_isnil(L, 9) || LuaAPI.lua_type(L, 9) == LuaTypes.LUA_TSTRING)) 
                {
                    int _effectId = LuaAPI.xlua_tointeger(L, 1);
                    long _marchId = LuaAPI.lua_toint64(L, 2);
                    Yoozoo.Gameplay.RTS.Proto.TargetCoordinateType _type;translator.Get(L, 3, out _type);
                    long _targetId = LuaAPI.lua_toint64(L, 4);
                    Yoozoo.Gameplay.RTS.Proto.TargetCoordinateType _targetType;translator.Get(L, 5, out _targetType);
                    bool _isRelatedToSelf = LuaAPI.lua_toboolean(L, 6);
                    int _team = LuaAPI.xlua_tointeger(L, 7);
                    string _sound = LuaAPI.lua_tostring(L, 8);
                    string _sound2 = LuaAPI.lua_tostring(L, 9);
                    
                        var gen_ret = Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.PlayEffectAndSound( _effectId, _marchId, _type, _targetId, _targetType, _isRelatedToSelf, _team, _sound, _sound2 );
                        LuaAPI.xlua_pushinteger(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.PlayEffectAndSound!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_PlayAreaEffect_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 5&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& translator.Assignable<UnityEngine.Vector3>(L, 2)&& translator.Assignable<UnityEngine.Vector3>(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 5)) 
                {
                    int _effectId = LuaAPI.xlua_tointeger(L, 1);
                    UnityEngine.Vector3 _selfPosition;translator.Get(L, 2, out _selfPosition);
                    UnityEngine.Vector3 _targetPosition;translator.Get(L, 3, out _targetPosition);
                    float _duration = (float)LuaAPI.lua_tonumber(L, 4);
                    bool _isRelatedToSelf = LuaAPI.lua_toboolean(L, 5);
                    
                        var gen_ret = Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.PlayAreaEffect( _effectId, _selfPosition, _targetPosition, _duration, _isRelatedToSelf );
                        LuaAPI.xlua_pushinteger(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                if(gen_param_count == 4&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& translator.Assignable<UnityEngine.Vector3>(L, 2)&& translator.Assignable<UnityEngine.Vector3>(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)) 
                {
                    int _effectId = LuaAPI.xlua_tointeger(L, 1);
                    UnityEngine.Vector3 _selfPosition;translator.Get(L, 2, out _selfPosition);
                    UnityEngine.Vector3 _targetPosition;translator.Get(L, 3, out _targetPosition);
                    float _duration = (float)LuaAPI.lua_tonumber(L, 4);
                    
                        var gen_ret = Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.PlayAreaEffect( _effectId, _selfPosition, _targetPosition, _duration );
                        LuaAPI.xlua_pushinteger(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.PlayAreaEffect!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_RemoveEffect_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 2)) 
                {
                    int _effectId = LuaAPI.xlua_tointeger(L, 1);
                    bool _isRelatedToSelf = LuaAPI.lua_toboolean(L, 2);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.RemoveEffect( _effectId, _isRelatedToSelf );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 1&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)) 
                {
                    int _effectId = LuaAPI.xlua_tointeger(L, 1);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.RemoveEffect( _effectId );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.RemoveEffect!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_FlyText_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 9&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& translator.Assignable<UnityEngine.Vector3>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& translator.Assignable<UnityEngine.Vector3>(L, 5)&& (LuaAPI.lua_isnil(L, 6) || LuaAPI.lua_type(L, 6) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 7)&& translator.Assignable<Gameplay.RTS.ScriptConfig.FlyTextAudio>(L, 8)&& (LuaAPI.lua_isnil(L, 9) || LuaAPI.lua_type(L, 9) == LuaTypes.LUA_TSTRING)) 
                {
                    int _type = LuaAPI.xlua_tointeger(L, 1);
                    UnityEngine.Vector3 _position;translator.Get(L, 2, out _position);
                    string _content = LuaAPI.lua_tostring(L, 3);
                    float _scale = (float)LuaAPI.lua_tonumber(L, 4);
                    UnityEngine.Vector3 _targetPosition;translator.Get(L, 5, out _targetPosition);
                    string _tid = LuaAPI.lua_tostring(L, 6);
                    int _priority = LuaAPI.xlua_tointeger(L, 7);
                    Gameplay.RTS.ScriptConfig.FlyTextAudio _audioType;translator.Get(L, 8, out _audioType);
                    string _PlayAnimName = LuaAPI.lua_tostring(L, 9);
                    
                        var gen_ret = Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.FlyText( _type, _position, _content, _scale, _targetPosition, _tid, _priority, _audioType, _PlayAnimName );
                        LuaAPI.xlua_pushinteger(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                if(gen_param_count == 8&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& translator.Assignable<UnityEngine.Vector3>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& translator.Assignable<UnityEngine.Vector3>(L, 5)&& (LuaAPI.lua_isnil(L, 6) || LuaAPI.lua_type(L, 6) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 7)&& translator.Assignable<Gameplay.RTS.ScriptConfig.FlyTextAudio>(L, 8)) 
                {
                    int _type = LuaAPI.xlua_tointeger(L, 1);
                    UnityEngine.Vector3 _position;translator.Get(L, 2, out _position);
                    string _content = LuaAPI.lua_tostring(L, 3);
                    float _scale = (float)LuaAPI.lua_tonumber(L, 4);
                    UnityEngine.Vector3 _targetPosition;translator.Get(L, 5, out _targetPosition);
                    string _tid = LuaAPI.lua_tostring(L, 6);
                    int _priority = LuaAPI.xlua_tointeger(L, 7);
                    Gameplay.RTS.ScriptConfig.FlyTextAudio _audioType;translator.Get(L, 8, out _audioType);
                    
                        var gen_ret = Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.FlyText( _type, _position, _content, _scale, _targetPosition, _tid, _priority, _audioType );
                        LuaAPI.xlua_pushinteger(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                if(gen_param_count == 7&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& translator.Assignable<UnityEngine.Vector3>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& translator.Assignable<UnityEngine.Vector3>(L, 5)&& (LuaAPI.lua_isnil(L, 6) || LuaAPI.lua_type(L, 6) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 7)) 
                {
                    int _type = LuaAPI.xlua_tointeger(L, 1);
                    UnityEngine.Vector3 _position;translator.Get(L, 2, out _position);
                    string _content = LuaAPI.lua_tostring(L, 3);
                    float _scale = (float)LuaAPI.lua_tonumber(L, 4);
                    UnityEngine.Vector3 _targetPosition;translator.Get(L, 5, out _targetPosition);
                    string _tid = LuaAPI.lua_tostring(L, 6);
                    int _priority = LuaAPI.xlua_tointeger(L, 7);
                    
                        var gen_ret = Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.FlyText( _type, _position, _content, _scale, _targetPosition, _tid, _priority );
                        LuaAPI.xlua_pushinteger(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.FlyText!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_FlyTextIcon_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 5&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& translator.Assignable<UnityEngine.Vector3>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)&& (LuaAPI.lua_isnil(L, 4) || LuaAPI.lua_type(L, 4) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)) 
                {
                    int _type = LuaAPI.xlua_tointeger(L, 1);
                    UnityEngine.Vector3 _position;translator.Get(L, 2, out _position);
                    string _content = LuaAPI.lua_tostring(L, 3);
                    string _icon = LuaAPI.lua_tostring(L, 4);
                    int _priority = LuaAPI.xlua_tointeger(L, 5);
                    
                        var gen_ret = Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.FlyTextIcon( _type, _position, _content, _icon, _priority );
                        LuaAPI.xlua_pushinteger(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                if(gen_param_count == 4&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& translator.Assignable<UnityEngine.Vector3>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)&& (LuaAPI.lua_isnil(L, 4) || LuaAPI.lua_type(L, 4) == LuaTypes.LUA_TSTRING)) 
                {
                    int _type = LuaAPI.xlua_tointeger(L, 1);
                    UnityEngine.Vector3 _position;translator.Get(L, 2, out _position);
                    string _content = LuaAPI.lua_tostring(L, 3);
                    string _icon = LuaAPI.lua_tostring(L, 4);
                    
                        var gen_ret = Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.FlyTextIcon( _type, _position, _content, _icon );
                        LuaAPI.xlua_pushinteger(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.FlyTextIcon!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_PlayRepeatText_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 9&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& (LuaAPI.lua_isnil(L, 5) || LuaAPI.lua_type(L, 5) == LuaTypes.LUA_TSTRING)&& translator.Assignable<System.Collections.Generic.List<int>>(L, 6)&& translator.Assignable<UnityEngine.Vector3>(L, 7)&& translator.Assignable<UnityEngine.Vector3>(L, 8)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 9)) 
                {
                    int _type = LuaAPI.xlua_tointeger(L, 1);
                    string _numChar = LuaAPI.lua_tostring(L, 2);
                    int _content = LuaAPI.xlua_tointeger(L, 3);
                    float _scale = (float)LuaAPI.lua_tonumber(L, 4);
                    string _animName = LuaAPI.lua_tostring(L, 5);
                    System.Collections.Generic.List<int> _intervalArray = (System.Collections.Generic.List<int>)translator.GetObject(L, 6, typeof(System.Collections.Generic.List<int>));
                    UnityEngine.Vector3 _position;translator.Get(L, 7, out _position);
                    UnityEngine.Vector3 _targetPosition;translator.Get(L, 8, out _targetPosition);
                    int _priority = LuaAPI.xlua_tointeger(L, 9);
                    
                        var gen_ret = Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.PlayRepeatText( _type, _numChar, _content, _scale, _animName, _intervalArray, _position, _targetPosition, _priority );
                        LuaAPI.xlua_pushinteger(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                if(gen_param_count == 8&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& (LuaAPI.lua_isnil(L, 5) || LuaAPI.lua_type(L, 5) == LuaTypes.LUA_TSTRING)&& translator.Assignable<System.Collections.Generic.List<int>>(L, 6)&& translator.Assignable<UnityEngine.Vector3>(L, 7)&& translator.Assignable<UnityEngine.Vector3>(L, 8)) 
                {
                    int _type = LuaAPI.xlua_tointeger(L, 1);
                    string _numChar = LuaAPI.lua_tostring(L, 2);
                    int _content = LuaAPI.xlua_tointeger(L, 3);
                    float _scale = (float)LuaAPI.lua_tonumber(L, 4);
                    string _animName = LuaAPI.lua_tostring(L, 5);
                    System.Collections.Generic.List<int> _intervalArray = (System.Collections.Generic.List<int>)translator.GetObject(L, 6, typeof(System.Collections.Generic.List<int>));
                    UnityEngine.Vector3 _position;translator.Get(L, 7, out _position);
                    UnityEngine.Vector3 _targetPosition;translator.Get(L, 8, out _targetPosition);
                    
                        var gen_ret = Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.PlayRepeatText( _type, _numChar, _content, _scale, _animName, _intervalArray, _position, _targetPosition );
                        LuaAPI.xlua_pushinteger(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                if(gen_param_count == 7&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& (LuaAPI.lua_isnil(L, 5) || LuaAPI.lua_type(L, 5) == LuaTypes.LUA_TSTRING)&& translator.Assignable<System.Collections.Generic.List<int>>(L, 6)&& translator.Assignable<UnityEngine.Vector3>(L, 7)) 
                {
                    int _type = LuaAPI.xlua_tointeger(L, 1);
                    string _numChar = LuaAPI.lua_tostring(L, 2);
                    int _content = LuaAPI.xlua_tointeger(L, 3);
                    float _scale = (float)LuaAPI.lua_tonumber(L, 4);
                    string _animName = LuaAPI.lua_tostring(L, 5);
                    System.Collections.Generic.List<int> _intervalArray = (System.Collections.Generic.List<int>)translator.GetObject(L, 6, typeof(System.Collections.Generic.List<int>));
                    UnityEngine.Vector3 _position;translator.Get(L, 7, out _position);
                    
                        var gen_ret = Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.PlayRepeatText( _type, _numChar, _content, _scale, _animName, _intervalArray, _position );
                        LuaAPI.xlua_pushinteger(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.PlayRepeatText!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_PlayRepeatText2_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 9&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& (LuaAPI.lua_isnil(L, 5) || LuaAPI.lua_type(L, 5) == LuaTypes.LUA_TSTRING)&& translator.Assignable<System.Collections.Generic.List<UnityEngine.Vector2Int>>(L, 6)&& translator.Assignable<UnityEngine.Vector3>(L, 7)&& translator.Assignable<UnityEngine.Vector3>(L, 8)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 9)) 
                {
                    int _type = LuaAPI.xlua_tointeger(L, 1);
                    string _numChar = LuaAPI.lua_tostring(L, 2);
                    int _content = LuaAPI.xlua_tointeger(L, 3);
                    float _scale = (float)LuaAPI.lua_tonumber(L, 4);
                    string _animName = LuaAPI.lua_tostring(L, 5);
                    System.Collections.Generic.List<UnityEngine.Vector2Int> _intervalArray = (System.Collections.Generic.List<UnityEngine.Vector2Int>)translator.GetObject(L, 6, typeof(System.Collections.Generic.List<UnityEngine.Vector2Int>));
                    UnityEngine.Vector3 _position;translator.Get(L, 7, out _position);
                    UnityEngine.Vector3 _targetPosition;translator.Get(L, 8, out _targetPosition);
                    int _priority = LuaAPI.xlua_tointeger(L, 9);
                    
                        var gen_ret = Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.PlayRepeatText2( _type, _numChar, _content, _scale, _animName, _intervalArray, _position, _targetPosition, _priority );
                        LuaAPI.xlua_pushinteger(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                if(gen_param_count == 8&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& (LuaAPI.lua_isnil(L, 5) || LuaAPI.lua_type(L, 5) == LuaTypes.LUA_TSTRING)&& translator.Assignable<System.Collections.Generic.List<UnityEngine.Vector2Int>>(L, 6)&& translator.Assignable<UnityEngine.Vector3>(L, 7)&& translator.Assignable<UnityEngine.Vector3>(L, 8)) 
                {
                    int _type = LuaAPI.xlua_tointeger(L, 1);
                    string _numChar = LuaAPI.lua_tostring(L, 2);
                    int _content = LuaAPI.xlua_tointeger(L, 3);
                    float _scale = (float)LuaAPI.lua_tonumber(L, 4);
                    string _animName = LuaAPI.lua_tostring(L, 5);
                    System.Collections.Generic.List<UnityEngine.Vector2Int> _intervalArray = (System.Collections.Generic.List<UnityEngine.Vector2Int>)translator.GetObject(L, 6, typeof(System.Collections.Generic.List<UnityEngine.Vector2Int>));
                    UnityEngine.Vector3 _position;translator.Get(L, 7, out _position);
                    UnityEngine.Vector3 _targetPosition;translator.Get(L, 8, out _targetPosition);
                    
                        var gen_ret = Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.PlayRepeatText2( _type, _numChar, _content, _scale, _animName, _intervalArray, _position, _targetPosition );
                        LuaAPI.xlua_pushinteger(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                if(gen_param_count == 7&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& (LuaAPI.lua_isnil(L, 5) || LuaAPI.lua_type(L, 5) == LuaTypes.LUA_TSTRING)&& translator.Assignable<System.Collections.Generic.List<UnityEngine.Vector2Int>>(L, 6)&& translator.Assignable<UnityEngine.Vector3>(L, 7)) 
                {
                    int _type = LuaAPI.xlua_tointeger(L, 1);
                    string _numChar = LuaAPI.lua_tostring(L, 2);
                    int _content = LuaAPI.xlua_tointeger(L, 3);
                    float _scale = (float)LuaAPI.lua_tonumber(L, 4);
                    string _animName = LuaAPI.lua_tostring(L, 5);
                    System.Collections.Generic.List<UnityEngine.Vector2Int> _intervalArray = (System.Collections.Generic.List<UnityEngine.Vector2Int>)translator.GetObject(L, 6, typeof(System.Collections.Generic.List<UnityEngine.Vector2Int>));
                    UnityEngine.Vector3 _position;translator.Get(L, 7, out _position);
                    
                        var gen_ret = Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.PlayRepeatText2( _type, _numChar, _content, _scale, _animName, _intervalArray, _position );
                        LuaAPI.xlua_pushinteger(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.PlayRepeatText2!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_FlyTextName_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 10&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& (LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) || LuaAPI.lua_isint64(L, 2))&& translator.Assignable<Yoozoo.Gameplay.RTS.Proto.TargetCoordinateType>(L, 3)&& (LuaAPI.lua_isnil(L, 4) || LuaAPI.lua_type(L, 4) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 7)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 8)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 9)&& (LuaAPI.lua_isnil(L, 10) || LuaAPI.lua_type(L, 10) == LuaTypes.LUA_TSTRING)) 
                {
                    int _team = LuaAPI.xlua_tointeger(L, 1);
                    long _tid = LuaAPI.lua_toint64(L, 2);
                    Yoozoo.Gameplay.RTS.Proto.TargetCoordinateType _type;translator.Get(L, 3, out _type);
                    string _content = LuaAPI.lua_tostring(L, 4);
                    float _offsetX = (float)LuaAPI.lua_tonumber(L, 5);
                    float _offsetY = (float)LuaAPI.lua_tonumber(L, 6);
                    float _offsetZ = (float)LuaAPI.lua_tonumber(L, 7);
                    int _priority = LuaAPI.xlua_tointeger(L, 8);
                    bool _isCarSkill = LuaAPI.lua_toboolean(L, 9);
                    string _icon = LuaAPI.lua_tostring(L, 10);
                    
                        var gen_ret = Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.FlyTextName( _team, _tid, _type, _content, _offsetX, _offsetY, _offsetZ, _priority, _isCarSkill, _icon );
                        LuaAPI.xlua_pushinteger(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                if(gen_param_count == 9&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& (LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) || LuaAPI.lua_isint64(L, 2))&& translator.Assignable<Yoozoo.Gameplay.RTS.Proto.TargetCoordinateType>(L, 3)&& (LuaAPI.lua_isnil(L, 4) || LuaAPI.lua_type(L, 4) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 7)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 8)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 9)) 
                {
                    int _team = LuaAPI.xlua_tointeger(L, 1);
                    long _tid = LuaAPI.lua_toint64(L, 2);
                    Yoozoo.Gameplay.RTS.Proto.TargetCoordinateType _type;translator.Get(L, 3, out _type);
                    string _content = LuaAPI.lua_tostring(L, 4);
                    float _offsetX = (float)LuaAPI.lua_tonumber(L, 5);
                    float _offsetY = (float)LuaAPI.lua_tonumber(L, 6);
                    float _offsetZ = (float)LuaAPI.lua_tonumber(L, 7);
                    int _priority = LuaAPI.xlua_tointeger(L, 8);
                    bool _isCarSkill = LuaAPI.lua_toboolean(L, 9);
                    
                        var gen_ret = Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.FlyTextName( _team, _tid, _type, _content, _offsetX, _offsetY, _offsetZ, _priority, _isCarSkill );
                        LuaAPI.xlua_pushinteger(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                if(gen_param_count == 8&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& (LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) || LuaAPI.lua_isint64(L, 2))&& translator.Assignable<Yoozoo.Gameplay.RTS.Proto.TargetCoordinateType>(L, 3)&& (LuaAPI.lua_isnil(L, 4) || LuaAPI.lua_type(L, 4) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 7)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 8)) 
                {
                    int _team = LuaAPI.xlua_tointeger(L, 1);
                    long _tid = LuaAPI.lua_toint64(L, 2);
                    Yoozoo.Gameplay.RTS.Proto.TargetCoordinateType _type;translator.Get(L, 3, out _type);
                    string _content = LuaAPI.lua_tostring(L, 4);
                    float _offsetX = (float)LuaAPI.lua_tonumber(L, 5);
                    float _offsetY = (float)LuaAPI.lua_tonumber(L, 6);
                    float _offsetZ = (float)LuaAPI.lua_tonumber(L, 7);
                    int _priority = LuaAPI.xlua_tointeger(L, 8);
                    
                        var gen_ret = Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.FlyTextName( _team, _tid, _type, _content, _offsetX, _offsetY, _offsetZ, _priority );
                        LuaAPI.xlua_pushinteger(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                if(gen_param_count == 7&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& (LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) || LuaAPI.lua_isint64(L, 2))&& translator.Assignable<Yoozoo.Gameplay.RTS.Proto.TargetCoordinateType>(L, 3)&& (LuaAPI.lua_isnil(L, 4) || LuaAPI.lua_type(L, 4) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 7)) 
                {
                    int _team = LuaAPI.xlua_tointeger(L, 1);
                    long _tid = LuaAPI.lua_toint64(L, 2);
                    Yoozoo.Gameplay.RTS.Proto.TargetCoordinateType _type;translator.Get(L, 3, out _type);
                    string _content = LuaAPI.lua_tostring(L, 4);
                    float _offsetX = (float)LuaAPI.lua_tonumber(L, 5);
                    float _offsetY = (float)LuaAPI.lua_tonumber(L, 6);
                    float _offsetZ = (float)LuaAPI.lua_tonumber(L, 7);
                    
                        var gen_ret = Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.FlyTextName( _team, _tid, _type, _content, _offsetX, _offsetY, _offsetZ );
                        LuaAPI.xlua_pushinteger(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                if(gen_param_count == 6&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& (LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) || LuaAPI.lua_isint64(L, 2))&& translator.Assignable<Yoozoo.Gameplay.RTS.Proto.TargetCoordinateType>(L, 3)&& (LuaAPI.lua_isnil(L, 4) || LuaAPI.lua_type(L, 4) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)) 
                {
                    int _team = LuaAPI.xlua_tointeger(L, 1);
                    long _tid = LuaAPI.lua_toint64(L, 2);
                    Yoozoo.Gameplay.RTS.Proto.TargetCoordinateType _type;translator.Get(L, 3, out _type);
                    string _content = LuaAPI.lua_tostring(L, 4);
                    float _offsetX = (float)LuaAPI.lua_tonumber(L, 5);
                    float _offsetY = (float)LuaAPI.lua_tonumber(L, 6);
                    
                        var gen_ret = Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.FlyTextName( _team, _tid, _type, _content, _offsetX, _offsetY );
                        LuaAPI.xlua_pushinteger(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                if(gen_param_count == 5&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& (LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) || LuaAPI.lua_isint64(L, 2))&& translator.Assignable<Yoozoo.Gameplay.RTS.Proto.TargetCoordinateType>(L, 3)&& (LuaAPI.lua_isnil(L, 4) || LuaAPI.lua_type(L, 4) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)) 
                {
                    int _team = LuaAPI.xlua_tointeger(L, 1);
                    long _tid = LuaAPI.lua_toint64(L, 2);
                    Yoozoo.Gameplay.RTS.Proto.TargetCoordinateType _type;translator.Get(L, 3, out _type);
                    string _content = LuaAPI.lua_tostring(L, 4);
                    float _offsetX = (float)LuaAPI.lua_tonumber(L, 5);
                    
                        var gen_ret = Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.FlyTextName( _team, _tid, _type, _content, _offsetX );
                        LuaAPI.xlua_pushinteger(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                if(gen_param_count == 4&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& (LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) || LuaAPI.lua_isint64(L, 2))&& translator.Assignable<Yoozoo.Gameplay.RTS.Proto.TargetCoordinateType>(L, 3)&& (LuaAPI.lua_isnil(L, 4) || LuaAPI.lua_type(L, 4) == LuaTypes.LUA_TSTRING)) 
                {
                    int _team = LuaAPI.xlua_tointeger(L, 1);
                    long _tid = LuaAPI.lua_toint64(L, 2);
                    Yoozoo.Gameplay.RTS.Proto.TargetCoordinateType _type;translator.Get(L, 3, out _type);
                    string _content = LuaAPI.lua_tostring(L, 4);
                    
                        var gen_ret = Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.FlyTextName( _team, _tid, _type, _content );
                        LuaAPI.xlua_pushinteger(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.FlyTextName!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_FlyTextFree_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    int _allocId = LuaAPI.xlua_tointeger(L, 1);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.FlyTextFree( _allocId );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_PreloadEffectConfig_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    XLua.LuaTable _table = (XLua.LuaTable)translator.GetObject(L, 1, typeof(XLua.LuaTable));
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.PreloadEffectConfig( _table );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_PreloadBattleFormationConfig_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    Yoozoo.Gameplay.RTS.Proto.BattleFormationCfgs _cfgs;translator.Get(L, 1, out _cfgs);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.PreloadBattleFormationConfig( _cfgs );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_PreloadFlyText_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    UnityEngine.GameObject _prefab = (UnityEngine.GameObject)translator.GetObject(L, 1, typeof(UnityEngine.GameObject));
                    int _count = LuaAPI.xlua_tointeger(L, 2);
                    int _type = LuaAPI.xlua_tointeger(L, 3);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.PreloadFlyText( _prefab, _count, _type );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OnLODPercentUpdate_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    int _lodLevel = LuaAPI.xlua_tointeger(L, 1);
                    int _marchLodLevel = LuaAPI.xlua_tointeger(L, 2);
                    float _lodScale = (float)LuaAPI.lua_tonumber(L, 3);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.OnLODPercentUpdate( _lodLevel, _marchLodLevel, _lodScale );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_TweenTo_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 5&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& translator.Assignable<System.Action<float>>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)) 
                {
                    float _myValue = (float)LuaAPI.lua_tonumber(L, 1);
                    System.Action<float> _b = translator.GetDelegate<System.Action<float>>(L, 2);
                    float _value = (float)LuaAPI.lua_tonumber(L, 3);
                    float _duration = (float)LuaAPI.lua_tonumber(L, 4);
                    int _easeType = LuaAPI.xlua_tointeger(L, 5);
                    
                        var gen_ret = Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.TweenTo( _myValue, _b, _value, _duration, _easeType );
                        translator.Push(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                if(gen_param_count == 4&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& translator.Assignable<System.Action<float>>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)) 
                {
                    float _myValue = (float)LuaAPI.lua_tonumber(L, 1);
                    System.Action<float> _b = translator.GetDelegate<System.Action<float>>(L, 2);
                    float _value = (float)LuaAPI.lua_tonumber(L, 3);
                    float _duration = (float)LuaAPI.lua_tonumber(L, 4);
                    
                        var gen_ret = Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.TweenTo( _myValue, _b, _value, _duration );
                        translator.Push(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.TweenTo!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetUIOverlayMat_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    UnityEngine.GameObject _obj = (UnityEngine.GameObject)translator.GetObject(L, 1, typeof(UnityEngine.GameObject));
                    object _mat = translator.GetObject(L, 2, typeof(object));
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.SetUIOverlayMat( _obj, _mat );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_UpdateFog_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    bool[] _unlockedData = (bool[])translator.GetObject(L, 1, typeof(bool[]));
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.UpdateFog( _unlockedData );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_UpdateServerTimeStamp_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    double _timeStamp = LuaAPI.lua_tonumber(L, 1);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.UpdateServerTimeStamp( _timeStamp );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_CalMonsterNeedLoadSoldierAtlas_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    XLua.LuaTable _soldierList = (XLua.LuaTable)translator.GetObject(L, 1, typeof(XLua.LuaTable));
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.CalMonsterNeedLoadSoldierAtlas( _soldierList );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_PreloadSoldierConfig_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    XLua.LuaTable _soldiers_dataConfig = (XLua.LuaTable)translator.GetObject(L, 1, typeof(XLua.LuaTable));
                    XLua.LuaTable _rts_soldier_model_configConfig = (XLua.LuaTable)translator.GetObject(L, 2, typeof(XLua.LuaTable));
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.PreloadSoldierConfig( _soldiers_dataConfig, _rts_soldier_model_configConfig );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_PreloadRTSGlobalValue_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    float _attack_range_1 = (float)LuaAPI.lua_tonumber(L, 1);
                    float _chaseAttackOffset = (float)LuaAPI.lua_tonumber(L, 2);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.PreloadRTSGlobalValue( _attack_range_1, _chaseAttackOffset );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_PreloadHeroSkillConfig_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    XLua.LuaTable _hero_skillConfig = (XLua.LuaTable)translator.GetObject(L, 1, typeof(XLua.LuaTable));
                    XLua.LuaTable _skill_element_rts_config = (XLua.LuaTable)translator.GetObject(L, 2, typeof(XLua.LuaTable));
                    XLua.LuaTable _hero_monsterConfig = (XLua.LuaTable)translator.GetObject(L, 3, typeof(XLua.LuaTable));
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.PreloadHeroSkillConfig( _hero_skillConfig, _skill_element_rts_config, _hero_monsterConfig );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_PreloadQualityLevelConfig_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    XLua.LuaTable _rts_quality_levelConfig = (XLua.LuaTable)translator.GetObject(L, 1, typeof(XLua.LuaTable));
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.PreloadQualityLevelConfig( _rts_quality_levelConfig );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_PreloadFormationSoldierPositionCfg_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    XLua.LuaTable _formationSoldierPositionCfg = (XLua.LuaTable)translator.GetObject(L, 1, typeof(XLua.LuaTable));
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.PreloadFormationSoldierPositionCfg( _formationSoldierPositionCfg );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_PreloadRTSNeedLangConfig_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    XLua.LuaTable _LangConfig = (XLua.LuaTable)translator.GetObject(L, 1, typeof(XLua.LuaTable));
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.PreloadRTSNeedLangConfig( _LangConfig );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_PreloadRTSNeedItemConfig_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    XLua.LuaTable _ItemConfig = (XLua.LuaTable)translator.GetObject(L, 1, typeof(XLua.LuaTable));
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.PreloadRTSNeedItemConfig( _ItemConfig );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_StopTestBattle_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.StopTestBattle(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ChangeMarchPathPointColor_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    int _lineId = LuaAPI.xlua_tointeger(L, 1);
                    UnityEngine.Color _color;translator.Get(L, 2, out _color);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.ChangeMarchPathPointColor( _lineId, _color );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OnQualityChanged_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 1&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)) 
                {
                    int _quality = LuaAPI.xlua_tointeger(L, 1);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.OnQualityChanged( _quality );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 4&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)) 
                {
                    int _maxModelWithShadow = LuaAPI.xlua_tointeger(L, 1);
                    int _maxModelWithoutShadow = LuaAPI.xlua_tointeger(L, 2);
                    int _maxThrowableItem = LuaAPI.xlua_tointeger(L, 3);
                    int _maxSkillEffect = LuaAPI.xlua_tointeger(L, 4);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.OnQualityChanged( _maxModelWithShadow, _maxModelWithoutShadow, _maxThrowableItem, _maxSkillEffect );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.OnQualityChanged!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OnQualityChangedSprite_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    int _marchCount = LuaAPI.xlua_tointeger(L, 1);
                    int _childCount = LuaAPI.xlua_tointeger(L, 2);
                    int _particleCount = LuaAPI.xlua_tointeger(L, 3);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.OnQualityChangedSprite( _marchCount, _childCount, _particleCount );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OnQualityChangedEffect_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    int _selfEffect = LuaAPI.xlua_tointeger(L, 1);
                    int _othersEffect = LuaAPI.xlua_tointeger(L, 2);
                    int _skillEffect = LuaAPI.xlua_tointeger(L, 3);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.OnQualityChangedEffect( _selfEffect, _othersEffect, _skillEffect );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OnQualityChangedMaxTroopNum_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    int _MaxFlyTextTroopNum = LuaAPI.xlua_tointeger(L, 1);
                    int _MaxAttackEffectTroopNum = LuaAPI.xlua_tointeger(L, 2);
                    int _MaxSkillTroopNum = LuaAPI.xlua_tointeger(L, 3);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.OnQualityChangedMaxTroopNum( _MaxFlyTextTroopNum, _MaxAttackEffectTroopNum, _MaxSkillTroopNum );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OnChangeEffectNum_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    int _MaxFlyTextNum = LuaAPI.xlua_tointeger(L, 1);
                    int _MaxAttackEffectNum = LuaAPI.xlua_tointeger(L, 2);
                    int _MaxSkillEffectNum = LuaAPI.xlua_tointeger(L, 3);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.OnChangeEffectNum( _MaxFlyTextNum, _MaxAttackEffectNum, _MaxSkillEffectNum );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OnQualityChangedFlyText_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    int _flyTextCount = LuaAPI.xlua_tointeger(L, 1);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.OnQualityChangedFlyText( _flyTextCount );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OnCommanderHeadChanged_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    bool _bShow = LuaAPI.lua_toboolean(L, 1);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.OnCommanderHeadChanged( _bShow );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_PreloadMapBesiegeConfig_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    XLua.LuaTable _table = (XLua.LuaTable)translator.GetObject(L, 1, typeof(XLua.LuaTable));
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.PreloadMapBesiegeConfig( _table );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_StartUnitTest_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.StartUnitTest(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_EndUnitTest_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.EndUnitTest(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_InitRtsUnitTest_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.InitRtsUnitTest(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SelectBattleTroops_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    System.Collections.Generic.List<Yoozoo.Gameplay.RTS.Troop> _targetIdList = (System.Collections.Generic.List<Yoozoo.Gameplay.RTS.Troop>)translator.GetObject(L, 1, typeof(System.Collections.Generic.List<Yoozoo.Gameplay.RTS.Troop>));
                    float _otherAlpha = (float)LuaAPI.lua_tonumber(L, 2);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.SelectBattleTroops( _targetIdList, _otherAlpha );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_MoveSelectMarchToNormalCanvas_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    System.Collections.Generic.List<long> _targetIdList = (System.Collections.Generic.List<long>)translator.GetObject(L, 1, typeof(System.Collections.Generic.List<long>));
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.MoveSelectMarchToNormalCanvas( _targetIdList );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetArmyEnabled_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    bool _enabled = LuaAPI.lua_toboolean(L, 1);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.SetArmyEnabled( _enabled );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetSandboxTypeEnabled_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    int _type = LuaAPI.xlua_tointeger(L, 1);
                    bool _enabled = LuaAPI.lua_toboolean(L, 2);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.SetSandboxTypeEnabled( _type, _enabled );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetIsSandboxDebug_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    bool _isDebug = LuaAPI.lua_toboolean(L, 1);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.SetIsSandboxDebug( _isDebug );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetMeshRendererEnabled_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    bool _isEnabled = LuaAPI.lua_toboolean(L, 1);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.SetMeshRendererEnabled( _isEnabled );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetIsPoolObjectActive_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    bool _isActive = LuaAPI.lua_toboolean(L, 1);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.SetIsPoolObjectActive( _isActive );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetCarQuality_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    int _carNum = LuaAPI.xlua_tointeger(L, 1);
                    bool _carCheck = LuaAPI.lua_toboolean(L, 2);
                    bool _trafficEnable = LuaAPI.lua_toboolean(L, 3);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.SetCarQuality( _carNum, _carCheck, _trafficEnable );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ResetSandboxDecorationQuality_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    int _level = LuaAPI.xlua_tointeger(L, 1);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.ResetSandboxDecorationQuality( _level );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetOutCameraObjectActive_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    bool _isActive = LuaAPI.lua_toboolean(L, 1);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.SetOutCameraObjectActive( _isActive );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetOutCameraObjectRendererActive_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    bool _isActive = LuaAPI.lua_toboolean(L, 1);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.SetOutCameraObjectRendererActive( _isActive );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_CheckIsOutCamera_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    UnityEngine.Camera _camera = (UnityEngine.Camera)translator.GetObject(L, 1, typeof(UnityEngine.Camera));
                    UnityEngine.Vector3 _position;translator.Get(L, 2, out _position);
                    
                        var gen_ret = Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.CheckIsOutCamera( _camera, _position );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetTmpRebuildEnabled_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    bool _enabled = LuaAPI.lua_toboolean(L, 1);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.SetTmpRebuildEnabled( _enabled );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetPos_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    UnityEngine.GameObject _go = (UnityEngine.GameObject)translator.GetObject(L, 1, typeof(UnityEngine.GameObject));
                    UnityEngine.Vector3 _pos;translator.Get(L, 2, out _pos);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.SetPos( _go, _pos );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetForward_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    UnityEngine.GameObject _go = (UnityEngine.GameObject)translator.GetObject(L, 1, typeof(UnityEngine.GameObject));
                    UnityEngine.Vector3 _forward;translator.Get(L, 2, out _forward);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.SetForward( _go, _forward );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ResetResourceLoadAgentCount_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    int _agentCount = LuaAPI.xlua_tointeger(L, 1);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.ResetResourceLoadAgentCount( _agentCount );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetRapidWhenSwitchScene_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    bool _rapid = LuaAPI.lua_toboolean(L, 1);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.SetRapidWhenSwitchScene( _rapid );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetIsRapidLoading_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    bool _rapid = LuaAPI.lua_toboolean(L, 1);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.SetIsRapidLoading( _rapid );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ChangeSimpleMode_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    bool _isSimpleModel = LuaAPI.lua_toboolean(L, 1);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.ChangeSimpleMode( _isSimpleModel );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetThirdAttackEffect_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    bool _IsShowThirdAttackSpeedLineEffect = LuaAPI.lua_toboolean(L, 1);
                    bool _IsShowThirdAttackEffect = LuaAPI.lua_toboolean(L, 2);
                    bool _IsShowThirdRageEffect = LuaAPI.lua_toboolean(L, 3);
                    bool _IsShowThirdNormalText = LuaAPI.lua_toboolean(L, 4);
                    bool _IsShowThirdSkillText = LuaAPI.lua_toboolean(L, 5);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.SetThirdAttackEffect( _IsShowThirdAttackSpeedLineEffect, _IsShowThirdAttackEffect, _IsShowThirdRageEffect, _IsShowThirdNormalText, _IsShowThirdSkillText );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetIsShowThirdAttackSpeedLineEffect_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    bool _IsShowThirdAttackSpeedLineEffect = LuaAPI.lua_toboolean(L, 1);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.SetIsShowThirdAttackSpeedLineEffect( _IsShowThirdAttackSpeedLineEffect );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetIsShowThirdAttackEffect_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    bool _IsShowThirdAttackEffect = LuaAPI.lua_toboolean(L, 1);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.SetIsShowThirdAttackEffect( _IsShowThirdAttackEffect );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetIsShowThirdRageEffect_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    bool _IsShowThirdRageEffect = LuaAPI.lua_toboolean(L, 1);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.SetIsShowThirdRageEffect( _IsShowThirdRageEffect );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetIsShowThirdNormalText_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    bool _IsShowThirdNormalText = LuaAPI.lua_toboolean(L, 1);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.SetIsShowThirdNormalText( _IsShowThirdNormalText );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetIsShowThirdSkillText_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    bool _IsShowThirdSkillText = LuaAPI.lua_toboolean(L, 1);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.SetIsShowThirdSkillText( _IsShowThirdSkillText );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetArenaPositionByPosIdAndCamp_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    int _posId = LuaAPI.xlua_tointeger(L, 1);
                    int _camp = LuaAPI.xlua_tointeger(L, 2);
                    int _type = LuaAPI.xlua_tointeger(L, 3);
                    
                        var gen_ret = Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.GetArenaPositionByPosIdAndCamp( _posId, _camp, _type );
                        translator.PushUnityEngineVector3(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_TestCrash_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.TestCrash(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetUserId_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    string _playerId = LuaAPI.lua_tostring(L, 1);
                    
                    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.SetUserId( _playerId );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_useGpuFlyText(RealStatePtr L)
        {
		    try {
            
			    LuaAPI.lua_pushboolean(L, Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.useGpuFlyText);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_IsTest(RealStatePtr L)
        {
		    try {
            
			    LuaAPI.lua_pushboolean(L, Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.IsTest);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_lodLevel(RealStatePtr L)
        {
		    try {
            
			    LuaAPI.xlua_pushinteger(L, Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.lodLevel);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_marchLodLevel(RealStatePtr L)
        {
		    try {
            
			    LuaAPI.xlua_pushinteger(L, Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.marchLodLevel);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_lodScale(RealStatePtr L)
        {
		    try {
            
			    LuaAPI.lua_pushnumber(L, Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.lodScale);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_IsRtsUnitTest(RealStatePtr L)
        {
		    try {
            
			    LuaAPI.lua_pushboolean(L, Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.IsRtsUnitTest);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_LangId(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.LangId);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_MaxModelWithShadow(RealStatePtr L)
        {
		    try {
            
			    LuaAPI.xlua_pushinteger(L, Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.MaxModelWithShadow);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_MaxModelWithoutShadow(RealStatePtr L)
        {
		    try {
            
			    LuaAPI.xlua_pushinteger(L, Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.MaxModelWithoutShadow);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_isArmyEnabled(RealStatePtr L)
        {
		    try {
            
			    LuaAPI.lua_pushboolean(L, Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.isArmyEnabled);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_isSandboxType1Enabled(RealStatePtr L)
        {
		    try {
            
			    LuaAPI.lua_pushboolean(L, Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.isSandboxType1Enabled);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_isSandboxType2Enabled(RealStatePtr L)
        {
		    try {
            
			    LuaAPI.lua_pushboolean(L, Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.isSandboxType2Enabled);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_isSandboxType3Enabled(RealStatePtr L)
        {
		    try {
            
			    LuaAPI.lua_pushboolean(L, Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.isSandboxType3Enabled);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_isSandboxType4Enabled(RealStatePtr L)
        {
		    try {
            
			    LuaAPI.lua_pushboolean(L, Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.isSandboxType4Enabled);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_isSandboxDebug(RealStatePtr L)
        {
		    try {
            
			    LuaAPI.lua_pushboolean(L, Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.isSandboxDebug);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_isMeshRendererEnabled(RealStatePtr L)
        {
		    try {
            
			    LuaAPI.lua_pushboolean(L, Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.isMeshRendererEnabled);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_isPoolObjectActive(RealStatePtr L)
        {
		    try {
            
			    LuaAPI.lua_pushboolean(L, Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.isPoolObjectActive);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_isOutCameraObjectActive(RealStatePtr L)
        {
		    try {
            
			    LuaAPI.lua_pushboolean(L, Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.isOutCameraObjectActive);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_isOutCameraObjectRendererActive(RealStatePtr L)
        {
		    try {
            
			    LuaAPI.lua_pushboolean(L, Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.isOutCameraObjectRendererActive);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_isRapidWhenSwitchScene(RealStatePtr L)
        {
		    try {
            
			    LuaAPI.lua_pushboolean(L, Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.isRapidWhenSwitchScene);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_useGpuFlyText(RealStatePtr L)
        {
		    try {
                
			    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.useGpuFlyText = LuaAPI.lua_toboolean(L, 1);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_IsTest(RealStatePtr L)
        {
		    try {
                
			    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.IsTest = LuaAPI.lua_toboolean(L, 1);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_lodLevel(RealStatePtr L)
        {
		    try {
                
			    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.lodLevel = LuaAPI.xlua_tointeger(L, 1);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_marchLodLevel(RealStatePtr L)
        {
		    try {
                
			    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.marchLodLevel = LuaAPI.xlua_tointeger(L, 1);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_lodScale(RealStatePtr L)
        {
		    try {
                
			    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.lodScale = (float)LuaAPI.lua_tonumber(L, 1);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_IsRtsUnitTest(RealStatePtr L)
        {
		    try {
                
			    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.IsRtsUnitTest = LuaAPI.lua_toboolean(L, 1);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_LangId(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager gen_to_be_invoked = (Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.LangId = LuaAPI.xlua_tointeger(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_MaxModelWithShadow(RealStatePtr L)
        {
		    try {
                
			    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.MaxModelWithShadow = LuaAPI.xlua_tointeger(L, 1);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_MaxModelWithoutShadow(RealStatePtr L)
        {
		    try {
                
			    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.MaxModelWithoutShadow = LuaAPI.xlua_tointeger(L, 1);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_isArmyEnabled(RealStatePtr L)
        {
		    try {
                
			    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.isArmyEnabled = LuaAPI.lua_toboolean(L, 1);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_isSandboxType1Enabled(RealStatePtr L)
        {
		    try {
                
			    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.isSandboxType1Enabled = LuaAPI.lua_toboolean(L, 1);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_isSandboxType2Enabled(RealStatePtr L)
        {
		    try {
                
			    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.isSandboxType2Enabled = LuaAPI.lua_toboolean(L, 1);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_isSandboxType3Enabled(RealStatePtr L)
        {
		    try {
                
			    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.isSandboxType3Enabled = LuaAPI.lua_toboolean(L, 1);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_isSandboxType4Enabled(RealStatePtr L)
        {
		    try {
                
			    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.isSandboxType4Enabled = LuaAPI.lua_toboolean(L, 1);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_isSandboxDebug(RealStatePtr L)
        {
		    try {
                
			    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.isSandboxDebug = LuaAPI.lua_toboolean(L, 1);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_isMeshRendererEnabled(RealStatePtr L)
        {
		    try {
                
			    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.isMeshRendererEnabled = LuaAPI.lua_toboolean(L, 1);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_isPoolObjectActive(RealStatePtr L)
        {
		    try {
                
			    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.isPoolObjectActive = LuaAPI.lua_toboolean(L, 1);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_isOutCameraObjectActive(RealStatePtr L)
        {
		    try {
                
			    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.isOutCameraObjectActive = LuaAPI.lua_toboolean(L, 1);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_isOutCameraObjectRendererActive(RealStatePtr L)
        {
		    try {
                
			    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.isOutCameraObjectRendererActive = LuaAPI.lua_toboolean(L, 1);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_isRapidWhenSwitchScene(RealStatePtr L)
        {
		    try {
                
			    Yoozoo.Gameplay.RTS.RTSLuaCallCSharpManager.isRapidWhenSwitchScene = LuaAPI.lua_toboolean(L, 1);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
		
		
		
		
    }
}
